package com.jxnu.escms.Service.EpidService.impl;

import com.jxnu.escms.Dao.EpidDao.EpidDao;
import com.jxnu.escms.Service.EpidService.EpidService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class EpidServiceImpl implements EpidService {
    @Resource
    private EpidDao epidDao;

    @Override
    public Map<String, Object> getKeyData() {
        return epidDao.getKeyData();
    }

    @Override
    public List<Map<String, Object>> getAddData() {
        return epidDao.getHistAddData();
    }

    @Override
    public List<Map<String, String>> getNowData() {
        return epidDao.getNowDataLimitFive();
    }

    @Override
    public List<Map<String, Object>> getBarData() {
        return epidDao.getJxData();
    }
}
